package cn.jingyinghui.rules.order;

public class Order {
    private double amount;
    private boolean isVip;

    public Order(double amount, boolean isVip) {
        this.amount = amount;
        this.isVip = isVip;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public boolean isVip() {
        return isVip;
    }

    public void setVip(boolean vip) {
        isVip = vip;
    }
}